<html>
<body>
	<h1>Photo Upload Form</h1>
	<form action="rest/upload" method="post" enctype="multipart/form-data">
		<p>
			Name: <input id="name" type="text" name="name" />
			<br/>
			File: <input id="upload" type="file" name="uploadedFile" size="50" /> 
			<input id="fileType" type="hidden" name="fileType" />
			<br/>
			Select a category: <select name="category">
				<option value="Photography">Photography</option>
				<option value="Graphics">Graphics</option>
			</select>
		</p>
		<input type="submit" value="Upload It" />
	</form>
</body>
<script src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
<script type="text/javascript" src="resources/js/upload.js"></script>
</html>